Stack/05 npc ai combat#372
Merged
Merged
Conversation
feeec7c to
bf57d2f
Compare
Routine scheduling moves into the NPC services; drops their Reflex registration.
Routine lookup/progression and AI ticking now live in the NPC services, wired through BootstrapService.
Adds AiDrawWeapon/UndrawWeapon actions using 1h/2h/Mag prefixes and the backing VM externals/enums.
Implements DEF_OPT_FRAME-gated attacks, the G1 damage formula, and clears the queued actions on death so corpses do not finish pending animations.
Fixes GoToFp orphan-walk slide, UseMob slot tags with stepwise stop, and turn/walk action transitions.
f164ca9 to
8b0958b
Compare
Merged
BoroBongo
approved these changes
Jun 17, 2026
BoroBongo
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NPC AI, routine, weapon and melee-combat overhaul. Removes the standalone routine service in favour of the NPC services and fills in weapon draw/undraw plus hit detection.
Changes
RoutineService/RoutineHandlerand their Reflex registration.NpcRoutineService,NpcAiService,NpcService,NpcHelperService, wired throughBootstrapService.AiDrawWeapon/UndrawWeaponactions using the real1h/2h/Maganimation prefixes, plus the backing VM externals and enums.Attackhit detection gated onDEF_OPT_FRAMEwith the G1 damage formula;FightServiceclears the queued action list on death so corpses don't play out pending animations;AiHandlerupdates.GoToFporphan-walk slide,UseMobslot tags with stepwise stop, and turn/walk transitions.How to test
Not fixed